hunt-snapshot-0_10_7 ~master (2019-09-12T04:35:55Z)
Dub
Repo
ResponseBuilder.withHeaders
collie
codec
http
server
responsebuilder
ResponseBuilder
Add an array of headers to the response.
@param array $headers @return $this
class
ResponseBuilder
ResponseBuilder
withHeaders
(
string
[
string
]
headers
)
Meta
Source
See Implementation
collie
codec
http
server
responsebuilder
ResponseBuilder
constructors
this
functions
clear
connectionClose
header
promise
send
sendWithEOM
setBody
setResponseHandler
status
withHeaders
properties
bodys
dataHandler
headers
httpMessage
variables
_body
_httpMessage
_txn
Add an array of headers to the response.
@param array $headers @return $this